package com.daqian.chance.example.admin.modules.system.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.daqian.chance.example.admin.modules.system.po.dto.SysUserDTO;
import com.daqian.chance.example.admin.modules.system.po.entity.SysUser;
import com.github.pagehelper.PageInfo;

/**
 * <p>
 * 系统-用户 服务类
 * </p>
 *
 * @author daqian
 * @since 2019-08-08
 */
public interface ISysUserService extends IService<SysUser> {
    /**
     * 分页查询
     *
     * @param sysUserDTO
     * @return
     */
    PageInfo<SysUser> page(SysUserDTO sysUserDTO);

    /**
     * 根据用户名查询用户
     *
     * @param userName
     * @return
     */
    SysUser selectUserByUserName(String userName);
}
